package cn.dao;

import cn.domain.Apipra;
import cn.domain.ApipraExample;
import cn.util.Pagination;

import java.util.List;

import org.apache.ibatis.annotations.Param;

public interface ApipraMapper {
    int countByExample(ApipraExample example);

    int deleteByExample(ApipraExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Apipra record);

    int insertSelective(Apipra record);

    List<Apipra> selectByExample(ApipraExample example);

    Apipra selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Apipra record, @Param("example") ApipraExample example);

    int updateByExample(@Param("record") Apipra record, @Param("example") ApipraExample example);

    int updateByPrimaryKeySelective(Apipra record);

    int updateByPrimaryKey(Apipra record);

	int getAllCount(Apipra apipra);

	List<Apipra> getAlllist(Pagination pagination);

	List<Apipra> selectByApiid(Integer id);
}